<script>
	import {
		onHide,
		onLaunch,
		onShow
	} from '@dcloudio/uni-app';

	import {
		setupInterceptors
	} from '@/utils/interceptors';
	export default {
		onLaunch: function() {
			console.log('App Launch')

			setupInterceptors();
		},
		onShow: function() {
			console.log('App Show')
			this.$store.dispatch('initToken')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import '@/components/uni-ui/uni-scss/index.scss';

	page {
		background-color: #fff;
	}

	.tagOne {
		position: absolute;
		font-size: 8px;
		padding-left: 50px;
		font-weight: bold;
		color: #fff;
		margin-top: -10px;
		box-sizing: border-box;
		background: url('/static/images/tag.png') no-repeat;
		background-size: 100% 100%;
		min-width: 80px;
		height: 20px;
		line-height: 20px;
		padding-right: 6px;
		white-space: nowrap;
		width: auto;
	}
</style>